package ken.app.even;

import com.she.olympic.TreeActivity;

import android.app.Activity;

public class MemberContentUploadEvent extends Event{
	
	private final String apiUrl = TreeActivity.SEVER_API +"/olympic/memberContentUpload";
	private int treeId = -1;
	private String gameCode = "";
	private String name = "";
	private String content ;
	
	private Activity mActivity = null;
	
	public MemberContentUploadEvent(Activity activity ){
		super();
		mActivity = activity;
	}
	
	public MemberContentUploadEvent(Activity activity, int treeid, String gamecode, String name, String content){
		super();
		mActivity = activity;
		this.treeId = treeid;
		this.gameCode = gamecode;
		this.name = name;
		this.content = content;
	}

	public String getPath(){
		return apiUrl;
	}

	public Activity getActivity(){
		return mActivity;
	}
	
	public void setTreeId(int treeid){
		treeId = treeid+1;
	}
	
	public int getTreeId(){
		return treeId;
	}
	
	public void setGameCode(String gamecode){
		gameCode = gamecode;
	}
	
	public String getGameCode(){
		return gameCode;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public String getName(){
		return this.name;
	}
	
	public void setContent(String content){
		this.content = content;
	}
	
	public String getContent(){
		return this.content;
	}
		
}
